package model

import org.itheima.kotlin.game.core.Painter

class Water(var i:Int,j:Int):IView {
    override var width: Int=Config.block
    override var height: Int=Config.block
    override var x: Int=width*j
    override var y: Int=height*i
    override public fun draw(){
        Painter.drawImage("img/water.gif",x,y)
    }
}